.markdown-doc {
  padding: 0 !important;
}
.editor-preview-side,
.editor-preview,
.markdown-doc {
  z-index: 9999;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  font-size: 12px;
  color: #333;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  word-wrap: break-word;
  padding: 1rem;

  h1 {
    font-size: 2.6em;
    line-height: 2.8em;
  }

  h2 {
    font-size: 2.3em;
    line-height: 2.5em;
  }

  h3 {
    font-size: 2em;
    line-height: 2.2em;
  }

  h4 {
    font-size: 1.7em;
    line-height: 1.9em;
  }

  h5 {
    font-size: 1.4em;
    line-height: 1.6em;
  }

  small {
    font-size: 70%;
    font-style: italic;
  }

  em {
    font-style: italic;
  }

  strike {
    text-decoration: line-through;
  }

  p,
  code,
  kbd,
  pre,
  samp {

    font-size: 1em;
    line-height: 1.4em;
  }

  pre {
    display: block;
    padding: 9.5px;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.42857143;
    color: #333;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
  }

  h1 ~ p,
  h2 ~ p,
  h3 ~ p,
  h4 ~ p,
  h5 ~ p,
  p {
    margin-bottom: .5em;
  }

  img {
    margin: 0 auto;
    max-width: 100%;
    height: auto;
  }

  a {
    text-decoration: underline;
    color: #23527c;

    &:hover {
      color: #2d8cf0;

    }
  }

  ol,
  ul {
    padding-left: 1.5em;
    margin-bottom: 1em;

    li {
      font-size: 1rem;
      margin-bottom: .5em;
    }
  }

  table {
    margin-bottom: 1em;

    th,
    tr {
      td {
        line-height: 1;
      }
    }
  }

  &.disabled {
    .CodeMirror {
      min-height: 360px;

      .editor-preview-active,
      .editor-preview {
        display: block;
      }
    }
  }
}
.CodeMirror-fullscreen,
.editor-toolbar.fullscreen {
  z-index: 9999;
}

.CodeMirror-sided {
  left: auto;
  right: 0;
  z-index: 9999;
}

.editor-preview-side {
  right: auto;
  left: 0;
}
